package Employee;
import java.util.Comparator;
class EmployeeComparator implements Comparator<Employee>{
	public int compare(Employee e1,Employee e2){
		if(e1.getBirth().getTime()>e2.getBirth().getTime()){
			return 1;
		}else if(e1.getBirth().getTime()<e2.getBirth().getTime()){
			return -1;
		}
		else{
			return 0;
		}
	}

}